package com.example.springMvcStudy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author liujiaxiang
 */
@Controller
public class TestController {
    @RequestMapping("/")
    public String hello(){
        return "index";
    }
    @RequestMapping("/target")
    public String target(){
        return "target";
    }
}
